<template>
  <div>
    <avue-crud v-if="tableOption"
               v-bind="bindVal"
               v-on="onEvent"
               v-model:page="page"
               v-model="startForm"></avue-crud>
  </div>
</template>

<script>
import {createDynamicMixin} from "@/mixins/startCrud.js";

const option = {
  name: "sys/user"
}
export default {
  mixins: [createDynamicMixin(option)],
  name: "startActAdminUserSelect",
  data() {
    return {}
  },
  methods: {
    loadCrudOptionBefore(option) {
      option.menuBtn = false;
      option.menu = false;
      option.selection = true;
      option.selectionFixed = true;
      option.rowKey = "id";
      option.reserveSelection = true;
      option.addBtn = false
    },
    getSelectUsers() {
      return this.selectList;
    },
    clearSelectUser() {
      this.$refs.startTableCrud.clearSelection()
      this.selectList = []
    }
  }

}
</script>

<style scoped>

</style>
